package org.csmzxy.class2333;

class Parent{
    private String name;
    public Parent(){
        System.out.println("无参构造参数");
    }
}
//使用final修饰的Parent 无法被继承
class Son extends Parent{
    public Son(){

    }
}

public class Example06 {
    public static void main(String[] args){
        Son son = new Son();
    }
}
